﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
//using System.Xml.Linq;

namespace KPIS.GERP.GHRMS.APP.App_UI.Forms
{
    public partial class TR_Competencies : System.Web.UI.Page
    {

        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                grdTRCompetencies.DataSource = "";
                grdTRCompetencies.DataBind();
            }
        }

        protected void btnReceive_OnClick(object sender, EventArgs e)
        {
            //for (int i = 0; i < grdTRRequestList.Items.Count; i++)
            //{
            //    GridDataItem item = grdTRRequestList.Items[i];
            //    CheckBox chk = (CheckBox)item["ClientSelectColumn"].Controls[0];

            //    if (chk.Checked)
            //    {
            //        string strStatus = item["status_seq"].Text;
            //        if (strStatus == "2")
            //        {
            //            Int32 strRequestSeq = Convert.ToInt32(item["request_seq"].Text);
            //            //string tmp_emp_seq = Convert.ToString(Session["UserID"].ToString());
            //            string tmp_emp_seq = Convert.ToString(Session["tmp_emp_seq"]);

            //            tr_traininginfo.request_seq = strRequestSeq;
            //            tr_traininginfo.updated_by = tmp_emp_seq;
            //            tr_traininginfo.updated_when = DateTime.Now;

            //            tr_trainingdal.UpdateStatus(tr_traininginfo);
            //        }
            //    }

            //}


        }
    }
}
